package com.charles.seckillPlatform.mapper;

import com.charles.seckillData.domain.SysOrder;
import com.charles.seckillPlatform.vo.OrderListVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Charles-H
 * 
 * 订单 数据层
 */
@Mapper
public interface SysOrderMapper {

    /**
     * 获取订单
     */
    List<OrderListVo> queryOrderList(Long user_id);
    
    /**
     * 获取订单
     */
    SysOrder queryOrder(String orderId);

    /**
     * 添加订单
     */
    void addOrder(SysOrder sysOrder);
    
}
